echo off

set currentDir=%cd%
cd ..\..\..\
set rootDir=%cd%
cd %currentDir%
set PYTHONPATH=%rootDir%
set taxi_alias=python %rootDir%\taksi\cli.py


for %%i in (*.xlsx) do (
    %taxi_alias%  --mode=excel --import-args="file=%currentDir%\%%i" --generator="ts-json" --output-format=json --export-args="pkg=AutoConfig,outdata-dir=%currentDir%\res,out-src-file=%currentDir%\src\AutoJsonConfig.ts"
)
pause
REM array-delim